// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
  },
  toUrl(){
    wx.navigateTo({
      url: '/pages/logs/logs',
    })
  },
  myEvent: function(e) {
    console.log(e)
    if(!e.detail.isBack){
      wx.showToast({
        title: '不要乱点啊',
      })
    }
  }
})